﻿using Infrastructure;
using Presenter;

namespace PresenterTests
{
    class FakeView: IView
    {
        public FakeView()
        {
            messageBoxShown = false;
        }

        public bool messageBoxShown { get; set; }
        public string inputArray { get; set; }
        public string outputArray { get; set; }
        public int selectedLogType
        {
            get { return 1; }
        }

        public void Attach(IPresenterCallbacks callback){}

        public void ShowMessageBox(string message)
        {
            messageBoxShown = true;
        }

        public void ShowLog(string log){}

        public ILogger GetLoggerToTxt()
        {
            return (ILogger)new LoggerToTxt();
        }

        public ILogger GetLoggerToHtml()
        {
            return (ILogger)new LoggerToHtml();
        }
    }
}
